package com.yunda.nebula.gateway.core;

import com.yunda.nebula.gateway.core.enums.DataEventTypeEnum;

import java.util.List;

/**
 * \* User: wei.zhang
 * \* Date: 2020/9/15 16:45
 * \* Description:
 *
 * @author wei.zhang
 * \
 */

public interface SyncDataService {

    void doFetchAppConfig(String app, DataEventTypeEnum eventTypeEnum);

    void doRemoveAppConfig(String appId, DataEventTypeEnum update);

    List<String> fetchAllApps();
}
